<script lang="tsx">
import {Component, Vue} from 'vue-property-decorator'
import Child from "./components/Child.js";
import {mixins} from "vue-class-component";
import Super from "./components/Super.js";

@Component
// export default class App extends Child {
export default class App extends mixins(Child, Super) {
    render() {
        console.log()
        return (
            <div>
                父调用子组件 <br/>
                <Child name="父给子传递的数据"/>
                <hr/>
                <Super/>
            </div>
        )
    }
}
</script>

<style scoped>
#app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    margin-top: 60px;
}
</style>
